package com.worklog.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.worklog.model.User;
import com.worklog.util.ResultMap;

public interface UserService extends IService<User> {
	PageInfo<User> selectByPage(User user, int start, int length);

	User selectByUsername(String username);

	void delUser(Integer userid);
	
	void delUsers(List<Integer> ids);

	PageInfo<User> queryAll(int start, int length);

	List<ResultMap<String, Object>> queryAllStatus();
}
